package com.eastfair.venueservice.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.venueservice.enumeration.ExhibitionSettlementDetailSettlementTypeEnum;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 结算明细
 * </p>
 *
 * @author linan
 * @since 2023-05-25
 */
@Data
@ApiModel(value = "ExhibitionSettlementDetailUpdateDTO", description = "结算明细")
public class ExhibitionSettlementDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 结算单号
     */
    @ApiModelProperty(value = "结算单号")
    @Size(max = 255, message = "结算单号长度不能超过255")
    private String settlementNo;
    /**
     * 结算类型 #{SERVICE:服务;WORK_OVERTIME:加班;REPAIR_REPORT:报修;MANAGE:管理费}
     */
    @ApiModelProperty(value = "结算类型 #{SERVICE:服务;WORK_OVERTIME:加班;REPAIR_REPORT:报修;MANAGE:管理费}")
    private ExhibitionSettlementDetailSettlementTypeEnum settlementType;
    /**
     * 业务单号
     */
    @ApiModelProperty(value = "业务单号")
    @Size(max = 255, message = "业务单号长度不能超过255")
    private String businessNo;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Long num;
    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
    /**
     * 小计金额
     */
    @ApiModelProperty(value = "小计金额")
    private BigDecimal subtotalPrice;
    /**
     * 服务分类名称
     */
    @ApiModelProperty(value = "服务分类名称")
    @Size(max = 255, message = "服务分类名称长度不能超过255")
    private String serviceCategoryName;
    /**
     * 服务规格名称
     */
    @ApiModelProperty(value = "服务规格名称")
    @Size(max = 255, message = "服务规格名称长度不能超过255")
    private String serviceSpecsName;
}
